package com.whq.thrift.api.web.admin.service.baseconf;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.baseconf.ModuleInstance;

public interface ModuleInstanceService {
	
	public void addRecord(ModuleInstance record);
    
    public List<ModuleInstance> findRecordsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);
    
    public void updateRecord(ModuleInstance record);
    
    public void deleteRecord(String id);
    
    public int findRecordCount(Map<String, Object> whereParams);
    
    public ModuleInstance findRecordById(String id);

}
